package com.azhuo.core.service;


import com.azhuo.core.pojo.Customer;
import com.azhuo.utils.Page;

public interface CustomerService {

	/**
	 * 查询客户列表
	 */
	public Page<Customer> findAllCustomer(Integer page, Integer size, Customer customer);

	/**
	 * 添加客户
	 * @param customer
	 */
	public void addCustomer(Customer customer);

	/**
	 * 根据ID查询
	 * @param cust_id
	 * @return
	 */
	public Customer findCustomerByCust_id(Integer cust_id);

	/**
	 * 更新客户信息
	 */
	public void updateCustomer(Customer customer);

	/**
	 * 根据cust_id删除客户信息
	 * @return 
	 */
	public int deleteCustomer(Integer cust_id);

}
